package rest;

import javax.xml.bind.annotation.XmlRootElement;
import java.util.Date;

/**
 * Created by alex on 15-1-20.
 */
@XmlRootElement
public class Response {
    
    public String text;
    public String author;
    public long time;

    public Response(String author, String text) {
        this.author = author;
        this.text = text;
        this.time = new Date().getTime();
    }
    
    public Response(){}
}
